package com.lesso.lpq.sunflower.infra.assembler;

import com.lesso.lpq.sunflower.model.EmployeeDevice;
import com.lesso.lpq.sunflower.pojo.dto.EmployeeDeviceDTO;
import com.lesso.lpq.sunflower.pojo.vo.EmployeeDeviceVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @ClassName : EmployeeDeviceAssembler
 * @Description :
 * @Author : 罗培棋
 * @Date: 2025-07-05 17:19
 */
@Mapper
public interface EmployeeDeviceAssembler {
    EmployeeDeviceAssembler INSTANCE = Mappers.getMapper(EmployeeDeviceAssembler.class);

    EmployeeDevice dtoToEntity(EmployeeDeviceDTO dto);

    EmployeeDeviceVO entityToVO(EmployeeDevice employeeDevice);

    List<EmployeeDeviceVO> entityListToVOList(List<EmployeeDevice> employeeDevices);
}
